package com.sailors.common.task.provider.faced.model.enums;


import com.sailors.common.task.provider.infra.design.common.enums.BussinessBaseEnum;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum StatusEnum implements BussinessBaseEnum {
    /**
     * 是
     */
    YES(1, "是"),

    /**
     * 否
     */
    NO(0, "否");

    public final int id;
    public final String desc;

    @Override
    public Integer getCode() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
